package yg_app;

import java.util.HashMap;
import java.util.Map;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

public class s {
	public static void main(String[] args) {
		Map<String, String> map = new HashMap<>();
		map.put("title", "title");
		map.put("subtitle", "subtitle");
		map.put("body", "body");
		String jsonString = JSON.toJSONString(map);

		JSONObject object = JSON.parseObject(jsonString);
		String object2 = (String) object.get("title");
		System.out.println(object2);

	}
}
